package com.irun.pm.interfaces;

import java.util.List;

import com.irun.pm.mode.DriverInfo;
import com.irun.pm.mode.Enforcement;

/***
 * @author huangsm
 * @date 2012-5-27
 * @email huangsanm@gmail.com
 * @version 1.0
 * @description 现场执法接口
 */
public interface IEnforcementController {

	/**
	 * 现场执法，查询列表
	 * @author huangsm
	 * @date 2012-5-27
	 * @email huangsanm@gmail.com
	 * @description
	 */
	public List<Enforcement> getEnforcementList(String name, String date_from, String date_to, String type);
	
	/***
	 * 添加现场执法
	 * @author huangsm
	 * @date 2012-5-27
	 * @email huangsanm@gmail.com
	 * @description
	 */
	public long saveEnforcement(Enforcement enf);
	
	/**
	 * 请求对象
	 * @author huangsm
	 * @date 2012-6-10
	 * @email huangsanm@gmail.com
	 * @description
	 */
	public Enforcement getEnforcementById(int id);
	
	
}
